package com.sporadic.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商家餐桌区域类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("tablearea")
public class DiningArea {


    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//餐桌区域编号
    @TableField("name")
    private String name;//餐桌区域名
    @TableField("m_id")
    private Integer mid;//餐桌区域所属商家




}
